package javaweb_work01.main.Test;

import javaweb_work01.main.Utils.PageContrl;
import javaweb_work01.main.Entity.Students;
import javaweb_work01.main.Service.ShowService;

import java.util.List;

public class ShowStudentsTest {

    public static void main(String[] args) {
        ShowService showService = new ShowService();
        List<Students> students = showService.showStudentsService(new PageContrl(0,10,10));
        for(Students s:students){
            System.out.println(s.getId());
        }
    }
}
